package com.crm.dao;

import com.crm.base.BaseMapper;
import com.crm.vo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper extends BaseMapper<User,Integer> {

    //通过用户名查询用户记录，返回用户对象n
    public User queryUserByName( String userName);


    public List<Map<String,Object>> queryAllSales();
}